home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- function §\x01\x02§()
- {
- return 697 % 511 * 5;
- }
- var §\x01§ = -579 + "\x01\x02"();
- while(true)
- {
- if(eval("\x01") == 351)
- {
- set("\x01",eval("\x01") + 50);
- §§push(true);
- }
- else if(eval("\x01") == 646)
- {
- set("\x01",eval("\x01") + 329);
- var §§pop() = function §\x01\x02§()
- {
- return 697 % 511 * 5;
- };
- }
- else if(eval("\x01") == 167)
- {
- set("\x01",eval("\x01") + 479);
- §§push("\x0f");
- §§push(1);
- }
- else if(eval("\x01") == 929)
- {
- set("\x01",eval("\x01") - 762);
- }
- else if(eval("\x01") == 975)
- {
- set("\x01",eval("\x01") - 920);
- §§push("\x0f");
- }
- else if(eval("\x01") == 401)
- {
- set("\x01",eval("\x01") - 219);
- if(function §\x01\x02§()
- {
- return 697 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") + 53);
- }
- }
- else if(eval("\x01") == 235)
- {
- set("\x01",eval("\x01") - 68);
- }
- else if(eval("\x01") == 55)
- {
- set("\x01",eval("\x01") + 484);
- §§push(eval(function §\x01\x02§()
- {
- return 697 % 511 * 5;
- }));
- }
- else
- {
- if(eval("\x01") == 182)
- {
- set("\x01",eval("\x01") + 53);
- while(§§pop() <= eval(function §\x01\x02§()
- {
- return 697 % 511 * 5;
- }))
- {
- set(§§constant(25),eval("\x13`{invalid_utf8=169}M")[§§constant(10)][§§constant(25) + eval(§§constant(24))]);
- if(eval(§§constant(5))[§§constant(6)](eval(§§constant(25))) && eval(§§constant(12)) == 1)
- {
- set(§§constant(8),- eval(§§constant(26)));
- setProperty(§§constant(9), _Y, getProperty(§§constant(9), _Y) - 4);
- set(§§constant(12),0);
- }
- set(§§constant(24),eval(§§constant(24)) + 1);
- §§push(eval(§§constant(24)));
- §§push(§§constant(23));
- }
- set(§§constant(16),0);
- set(§§constant(27),0);
- if(!eval(§§constant(27)) && !eval(§§constant(13)) && !eval(§§constant(16)) && eval(§§constant(5))[§§constant(17)] != 25 && eval(§§constant(5))[§§constant(17)] != 20 && eval(§§constant(5))[§§constant(6)](eval("\x13`{invalid_utf8=169}M")[§§constant(15)]))
- {
- if(eval(§§constant(5))[§§constant(17)] != 10 && eval(§§constant(5))[§§constant(17)] != 15)
- {
- §§constant(28)();
- }
- if(eval(§§constant(5))[§§constant(17)] != 10 && eval(§§constant(5))[§§constant(17)] != 15)
- {
- set(§§constant(16),0);
- }
- }
- break;
- }
- if(eval("\x01") == 539)
- {
- set("\x01",eval("\x01") - 245);
- §§push(!function §\x01\x02§()
- {
- return 697 % 511 * 5;
- });
- }
- else
- {
- if(eval("\x01") == 952)
- {
- set("\x01",eval("\x01") - 544);
- if(_root.paus3)
- {
- speed = 0;
- maxspeed = 0;
- }
- if(!_root.paus3)
- {
- if(this.hitTest(_root.camera))
- {
- speed = 0;
- maxspeed = 10;
- damage = 0;
- grav++;
- _Y = _Y + grav;
- while(_root.ground.hitTest(_X,_Y,true))
- {
- _Y--;
- grav = 0;
- }
- if(_root.ground.hitTest(_X + _width / 2 + ex,_Y - _height / 2,true) || _root.ground.hitTest(_X + _width / 2 + ex,_Y - _height / 6,true) || _root.ground.hitTest(_X + _width / 2 + ex,_Y - _height,true))
- {
- _X = _X - speed;
- }
- if(_root.ground.hitTest(_X - _width / 2 - ex,_Y - _height / 2,true) || _root.ground.hitTest(_X - _width / 2 - ex,_Y - _height / 6,true) || _root.ground.hitTest(_X - _width / 2 - ex,_Y - _height,true))
- {
- _X = _X + speed;
- }
- moving = 0;
- above = 0;
- if(this._x < _root.char._x && !attack && !above && !this.hitTest(_root.char) && this._currentframe != 15 && this._currentframe != 25 && this._currentframe != 10 && this.hitTest(_root.camera) && _root.char._currentframe != 45)
- {
- this._x += movespeed;
- _xscale = scale;
- this.gotoAndStop("run");
- attack = 0;
- moving = 1;
- }
- else if(this._x > _root.char._x && !attack && !above && !this.hitTest(_root.char) && this._currentframe != 15 && this.hitTest(_root.camera) && _root.char._currentframe != 45 && this._currentframe != 35 && this._currentframe != 10)
- {
- this._x -= movespeed;
- _xscale = - scale;
- this.gotoAndStop("run");
- attack = 0;
- moving = 1;
- }
- if(_root.char._currentframe == 45)
- {
- this.gotoAndStop("idle");
- moving = 0;
- }
- if(!moving && this._currentframe != 5)
- {
- moving = 0;
- }
- if(this._currentframe == 35)
- {
- this._x += movespeed;
- }
- jumpHits = 9;
- i = 1;
- while(i <= jumpHits)
- {
- jumpHit = _root.ground["jumpHit" + i];
- if(this.hitTest(jumpHit) && moving == 1)
- {
- grav = - jumpHeight;
- _Y = _Y - 4;
- moving = 0;
- }
- i++;
- }
- attack = 0;
- jumping = 0;
- if(this._currentframe != 15 && this.hitTest(_root.char))
- {
- if(this._currentframe != 10 && this._currentframe != 15)
- {
- this.gotoAndStop("attack_1");
- }
- if(this._currentframe != 10 && this._currentframe != 15)
- {
- attack = 0;
- }
- }
- if(this.hitTest(_root.fall))
- {
- this.gotoAndStop("death");
- _global.kills += 1;
- }
- }
- }
- break;
- }
- if(eval("\x01") == 294)
- {
- set("\x01",eval("\x01") + 291);
- if(function §\x01\x02§()
- {
- return 697 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") + 367);
- }
- }
- else
- {
- if(eval("\x01") != 585)
- {
- if(eval("\x01") == 408)
- {
- set("\x01",eval("\x01") - 408);
- }
- break;
- }
- set("\x01",eval("\x01") + 367);
- }
- }
- }
- }
- }
-